<template>

    <el-carousel :interval="4000" type="card" height="200px">
        <el-carousel-item v-for="pic in picpathes" :key="pic">
            <a :href="pic"><img :src="pic"></a>
        </el-carousel-item>
    </el-carousel>

</template>


<script>

import CarouselPic from '@/assets/logo.png'
import CarouselPicAlpha from '@/assets/snowflake.jpg'

export default{

    name: "pic-carousel",
    data(){
        return {
            picpathes: [
                CarouselPic,CarouselPicAlpha
            ]
        }
    }

}


</script>